package me.zhengjie.sqlservice;

import com.baomidou.mybatisplus.extension.service.IService;
import me.zhengjie.pojo.dto.ThreeFloorDeliveryProductionLineDto;
import me.zhengjie.pojo.entity.WcsDeliveryMission;
import me.zhengjie.pojo.vo.ReturnVo;

import java.util.List;
import java.util.Set;

public interface WcsDeliveryMissionService extends IService<WcsDeliveryMission> {
    boolean insertDelivery(WcsDeliveryMission wcsDeliveryMission);

    WcsDeliveryMission selectDeliveryCode(String deliveryCode);

    boolean updateDeliveryStatusAndAgvId(Integer id, Integer missionStatus, String agvId);

    boolean updateMissionStatus(String deliveryCode, Integer status);

    boolean deleteDeliveryId(Integer id);

    List<WcsDeliveryMission> selectMissionStatus(Integer status);

    List<WcsDeliveryMission> selectContainerCodeNoTask(String containerCode);

    List<WcsDeliveryMission> selectDestinationSNotMissionStatus(Set<String> storageCodeSet, Integer status);

    ThreeFloorDeliveryProductionLineDto myMethod(String deliveryCode, int type);
}
